<?php
/**
 * Created by PhpStorm.
 * User: yellow
 * Date: 2019/5/25
 * Time: 11:22
 */

namespace app\common\model;


use think\Model;

class BusBusinessInfo extends Model
{

    public function getIdCardFrontAttr($value){
        $host = getImgUrl();
        return $host . "/" .$value;
    }

    public function getIdCardBackAttr($value){
        $host = getImgUrl();
        return $host . "/" .$value;
    }

    public function getBusinessLicenceAttr($value){
        $host = getImgUrl();
        return $host . "/" .$value;
    }

}